package com.huidu.bitrade.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.huidu.bitrade.dto.AcMemberQuery;
import com.huidu.bitrade.dto.AcMemberRecordDTO;
import com.huidu.bitrade.dto.AcReferrerRewardsDTO;
import com.huidu.bitrade.dto.RankNumberDTO;
import com.huidu.bitrade.entity.AcMember;
import com.huidu.bitrade.vo.AcHdcAwardVO;
import com.huidu.bitrade.vo.AcMemberRecordVo;
import com.huidu.bitrade.vo.AcMemberStarRecordVo;
import com.huidu.bitrade.vo.AcReferrerRewardsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AcMemberMapper extends BaseMapper<AcMember> {

    List<RankNumberDTO> getRankNumber();

    List<AcMemberStarRecordVo> getMemberStarRecordVos(IPage page, @Param("param") AcMemberQuery param);

    /**
     * HDC奖励
     */
    List<AcHdcAwardVO> getHdcRecord(IPage page, @Param("param") AcMemberQuery param);

    /**
     * 创世节点购买记录
     */
    List<AcMemberRecordVo> getMemberRecord(IPage page, @Param("param") AcMemberRecordDTO param);

    /**
     * 创世节点信息查询
     */
    List<AcReferrerRewardsVO> getRewards(IPage page, @Param("param") AcReferrerRewardsDTO param);
}
